//
//  IGUserInfo.m
//  jingdongfang
//
//  Created by BOE on 2017/8/10.
//  Copyright © 2017年 ZhiYu Hao. All rights reserved.
//

#import "IGUserInfo.h"

//认证是否通过理由model
@implementation IGAuthen
+ (JSONKeyMapper *)keyMapper
{
    return [[JSONKeyMapper alloc]
            initWithModelToJSONDictionary:@{
                                            @"aid":@"id"
                                            }];
}
@end

@implementation IGUserInfo

+ (JSONKeyMapper *)keyMapper
{
    return [[JSONKeyMapper alloc]
            initWithModelToJSONDictionary:@{
                                            @"uid":@"uId",
                                            @"tel":@"phoneNo",
                                            @"totalEquNums":@"totalEquNum",
                                            @"worksNums":@"worksNum",
                                            @"albumNums":@"atlasNum"
                                            }];
}

- (IGShareModel *)getShareModel {
    IGShareModel *shareModel = [IGShareModel new];
    shareModel.title = self.nike;
    shareModel.webpageUrl = self.shareUrl;
    shareModel.descr = NSLocalizedString(@"I've Found an Amazing Artist in BOE iGallery.", nil);
    shareModel.thumbURL = self.image?self.image:nil;
    
    return shareModel;
}
    
@end
